package com.dragon.loan.repository;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.dragon.common.repository.mybatis.BaseRepository;
import com.dragon.common.repository.mybatis.MyBatisRepository;
import com.dragon.loan.entity.AcLoanApplyBxInfo;

public interface AcLoanApplyBxInfoRepository extends BaseRepository<AcLoanApplyBxInfo, Long>{
	
	public int deleteBxInfo(@Param("loanId") String loanId,@Param("bxId") String bxId);
	
	public int updateByBxId(AcLoanApplyBxInfo acLoanApplyBxInfo);
	
	public AcLoanApplyBxInfo selectBySrcCaseId(String loanId);
	
	public int updateBxInfoByLoanIdAndCompanyId(AcLoanApplyBxInfo acLoanApplyBxInfo);
	
	public List<AcLoanApplyBxInfo> querybxInfo(@Param("loanId")String loanId);
	
	public AcLoanApplyBxInfo getBxInfoByLoanIdAndBxCompanyId(@Param("loanId") String loanId,@Param("bxCompanyId") String bxCompanyId);
}
